package com.hnxxxy.sysmgr.mapper;


import java.util.List;

import com.hnxxxy.entity.Staffrole;
import com.hnxxxy.entity.StaffroleExample;
import org.apache.ibatis.annotations.Param;

public interface StaffroleMapper {
    long countByExample(StaffroleExample example);

    int deleteByExample(StaffroleExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Staffrole record);

    int insertSelective(Staffrole record);

    List<Staffrole> selectByExample(StaffroleExample example);

    Staffrole selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Staffrole record, @Param("example") StaffroleExample example);

    int updateByExample(@Param("record") Staffrole record, @Param("example") StaffroleExample example);

    int updateByPrimaryKeySelective(Staffrole record);

    int updateByPrimaryKey(Staffrole record);
}